#ifndef FRAMELESSDIALOG_H
#define FRAMELESSDIALOG_H

#include <QDialog>

namespace Ui
{
    class FramelessDialog;
}

class FramelessDialog : public QDialog
{
    Q_OBJECT

public:
    explicit FramelessDialog(QWidget *parent = nullptr);
    ~FramelessDialog();

    void setupUi(QWidget *frame);
    void setTitleIcon(const QString &icon);
    void setTitleIcon(const QPixmap &icon);
    void setTitleText(const QString &text);

private slots:

private:
    Ui::FramelessDialog *ui;

    QWidget *m_frame;
    QWidget *m_widget;
};

#endif // FRAMELESSDIALOG_H
